<div class="tableform">
<div class="widgetconfig">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
  <tbody id="navList">
  <tr>
    <th>公告：</th>
    <td><input type="text" name="notice" value="<{$setting.notice}>"></td>
  </tr>
  <tr>
    <th>显示分享链接：</th>
    <td><{input required=true type='select' name="show_jiathis" options=array('true'=>是,'false'=>否) value=$setting.show_jiathis|default:true}></td>
  </tr>
  <tr>
    <th>logo：</th>
    <td><input type=hidden name="ad_pic" value="<{$setting.ad_pic}>"><input name='ad_pic' vtype="purl" required='true' class="imgsrc x-input" id="ad_pic" value="<{$setting.ad_pic}>"><input type=button value="<{t app='b2c'}>上传图片<{/t}>" class="uploadbtn" onclick="addPic()"></td>
  </tr>
</tbody>
</table>
</div>
</div>
<script>
	function addPic(){
			var url='btools-alertpages.html?dd='+Date.now()+'&goto='+encodeURIComponent("btools-image_broswer.html?type=big");
			Ex_Loader('modedialog',function(){
			return new imgDialog(url,{onCallback:function(image_id,image_src){
					 $('ad_pic').value=image_src;
			}})	;
			});
		}
</script>